package com.training.pojo.chengshu;

import java.util.HashSet;
import java.util.Set;

/**
 * UFunction entity. @author MyEclipse Persistence Tools
 */

public class UFunction implements java.io.Serializable {

	// Fields

	private Integer fid;
	private String fname;
	private Integer modeid;
	private Integer rack;
	private String addr;
	private Set funUsers = new HashSet(0);

	// Constructors

	/** default constructor */
	public UFunction() {
	}

	/** full constructor */
	public UFunction(String fname, Integer modeid, Integer rack, String addr,
			Set funUsers) {
		this.fname = fname;
		this.modeid = modeid;
		this.rack = rack;
		this.addr = addr;
		this.funUsers = funUsers;
	}

	// Property accessors

	public Integer getFid() {
		return this.fid;
	}

	public void setFid(Integer fid) {
		this.fid = fid;
	}

	public String getFname() {
		return this.fname;
	}

	public void setFname(String fname) {
		this.fname = fname;
	}

	public Integer getModeid() {
		return this.modeid;
	}

	public void setModeid(Integer modeid) {
		this.modeid = modeid;
	}

	public Integer getRack() {
		return this.rack;
	}

	public void setRack(Integer rack) {
		this.rack = rack;
	}

	public String getAddr() {
		return this.addr;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public Set getFunUsers() {
		return this.funUsers;
	}

	public void setFunUsers(Set funUsers) {
		this.funUsers = funUsers;
	}

}